package com.TestDemo.Test2;

public class TestComparable implements Comparable,abcd{

    @Override
    public int compareTo(Object o) {
        return 0;
    }


    public static void main(String[] args) {
        Integer a = 10000;
        Integer b = 1000;

        System.out.println(a.compareTo(b));

        TestComparable testComparable = new TestComparable();
        testComparable.a();
        testComparable.b();
        testComparable.c();
        testComparable.d();

    }


    @Override
    public void a() {
        abcd.super.a();
    }

    @Override
    public void b() {
        abcd.super.b();
    }

    @Override
    public void c() {
        abcd.super.c();
    }

    @Override
    public void d() {
        abcd.super.d();
    }
}




interface abcd extends a,b,c,d{
    @Override
    default void a() {
        System.out.println("a");
    }

    @Override
    default void b() {
        System.out.println("b");
    }

    @Override
    default void c() {
        System.out.println("c");
    }

    @Override
    default void d() {
        System.out.println("d");
    }
}






interface a{
    void a();
}


interface b{
    void b();
}

interface c{
    void c();
}

interface d{
    void d();
}
